﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddSkill.aspx.cs" Inherits="sysadmin_GradeManager_AddSkill" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
     <script type="text/javascript" language="javascript">
        function ShowNo()                        //隐藏两个层
        {
            document.getElementById("doing").style.display="none";
            document.getElementById("divLogin").style.display="none";
        }
        function $(id)         
        {
            return (document.getElementById) ? document.getElementById(id) : document.all[id] ;
        }
        function showFloat()                    //根据屏幕的大小显示两个层
        {
            var range = getRange();
            $('doing').style.width = range.width + "px";
            $('doing').style.height = range.height + "px";
            $('doing').style.display = "block";
            document.getElementById("divLogin").style.display="";
        }
        function getRange()                      //得到屏幕的大小
        {
              var top     = document.body.scrollTop;
              var left    = document.body.scrollLeft;
              var height  = document.body.clientHeight;
              var width   = document.body.clientWidth;

              if (top==0 && left==0 && height==0 && width==0) 
              {
                top     = document.documentElement.scrollTop;
                left    = document.documentElement.scrollLeft;
                height  = document.documentElement.clientHeight;
                width   = document.documentElement.clientWidth;
              }
              return  {top:top  ,left:left ,height:height ,width:width } ;
        } 
        function AutoColseAler()
        {
            showFloat();
            setTimeout("ShowNo()",3000);
        }
    </script>
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right" width="100%">
            <tr>
                <td class="tree-titbg_left">
                    <asp:Label ID="lbl_InfoTitle_AddDownType" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" class="tableList2" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lbl_DownTypeName" runat="server" Text=""></asp:Label></th>
                <td>
                    <asp:TextBox ID="txt_DownTypeName" runat="server" MaxLength="100" Width="256px"></asp:TextBox>&nbsp;
                    <asp:RequiredFieldValidator ID="rfv_DownTypeName" runat="server" ControlToValidate="txt_DownTypeName"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                <td>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lab_Score" runat="server" Text=""></asp:Label></th>
                <td>
                    <asp:TextBox ID="txt_Score" runat="server" MaxLength="100" Width="256px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_DownTypeName"
                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                <td>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lab_SkillType" runat="server"></asp:Label></th>
                <td>
                    <asp:DropDownList ID="dpdlst_Type" runat="server">
                    </asp:DropDownList></td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="tree-bottom-bg" colspan="3">
                    <asp:Button ID="btnSave" runat="server" CssClass="inputBotton2" OnClick="btnSave_Click"
                        Text="" />
                    &nbsp;
                    <asp:Button ID="btnReset" runat="server" CausesValidation="False" CssClass="inputBotton2"
                        OnClick="btnReset_Click" Text="" /></td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td colspan="3">
                    &nbsp;
                    <asp:Label ID="lbl_msg_Error" runat="server" ForeColor="red" Text=""></asp:Label>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
